package com.crm.config.controller;

import com.crm.common.result.Result;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 程丛林
 * @Date 2024-09-23-9:35
 * @Version 1.0.0
 * Created by CongLin-Cheng on 2024/9/23 9:35
 */
@RestController
@RequestMapping("gateway")
public class test {
    @Value("${cs.ccl}")
    private String ccl;

    @GetMapping("cs")
    public Result cs(){
        System.out.println(ccl);
        return Result.ok(ccl);
    }
}